package io.renren.controller;

import io.renren.service.XlsBanksService;
import io.renren.utils.AppResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * 银行表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
@RestController
@RequestMapping("/api/xlsbanks")
@Api(tags="银行表")
public class XlsBanksController {
    @Autowired
    private XlsBanksService xlsBanksService;

    /**
     * 查询所有银行
     * @return
     */
    @GetMapping("/getAllBank")
    @ApiOperation("查询所有银行")
    public AppResult getAllBank(){
        return xlsBanksService.selectBanksList();
    }

}